package com.wyf.pojo;

import lombok.Data;

@Data
public class User1 {
    private String name;

    public User1(String name) {
        this.name = name;
        System.out.println("User1的有参构造");
    }

    public User1() {
        System.out.println("User1的无参构造");
    }

    public void show() {
        System.out.println("name" + name);
    }
}
